const {default: AlipaySdk} = require('alipay-sdk');
const fs = require('fs');

const alipaySdk = new AlipaySdk({
  appId: '2021001156614609',
  privateKey: fs.readFileSync('./alipay/private-key.pem', 'ascii'),
});

module.exports = alipaySdk
